Optimal. Leaf size=28 \[ \frac {(a-b) \tan ^{-1}(\sinh (c+d x))}{d}+\frac {b \sinh (c+d x)}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 28, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.158, Rules used = {3190, 388, 203} \[ \frac {(a-b) \tan ^{-1}(\sinh (c+d x))}{d}+\frac {b \sinh (c+d x)}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 388
Rule 3190
Rubi steps
\begin {align*} \int \text {sech}(c+d x) \left (a+b \sinh ^2(c+d x)\right ) \, dx &=\frac {\operatorname {Subst}\left (\int \frac {a+b x^2}{1+x^2} \, dx,x,\sinh (c+d x)\right )}{d}\\ &=\frac {b \sinh (c+d x)}{d}+\frac {(a-b) \operatorname {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\sinh (c+d x)\right )}{d}\\ &=\frac {(a-b) \tan ^{-1}(\sinh (c+d x))}{d}+\frac {b \sinh (c+d x)}{d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 37, normalized size = 1.32 \[ \frac {a \tan ^{-1}(\sinh (c+d x))}{d}+\frac {b \sinh (c+d x)}{d}-\frac {b \tan ^{-1}(\sinh (c+d x))}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.58, size = 101, normalized size = 3.61 \[ \frac {b \cosh \left (d x + c\right )^{2} + 2 \, b \cosh \left (d x + c\right ) \sinh \left (d x + c\right ) + b \sinh \left (d x + c\right )^{2} + 4 \, {\left ({\left (a - b\right )} \cosh \left (d x + c\right ) + {\left (a - b\right )} \sinh \left (d x + c\right )\right )} \arctan \left (\cosh \left (d x + c\right ) + \sinh \left (d x + c\right )\right ) - b}{2 \, {\left (d \cosh \left (d x + c\right ) + d \sinh \left (d x + c\right )\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.14, size = 40, normalized size = 1.43 \[ \frac {4 \, {\left (a - b\right )} \arctan \left (e^{\left (d x + c\right )}\right ) + b e^{\left (d x + c\right )} - b e^{\left (-d x - c\right )}}{2 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 39, normalized size = 1.39 \[ \frac {b \sinh \left (d x +c \right )}{d}+\frac {2 a \arctan \left ({\mathrm e}^{d x +c}\right )}{d}-\frac {2 b \arctan \left ({\mathrm e}^{d x +c}\right )}{d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.45, size = 56, normalized size = 2.00 \[ \frac {1}{2} \, b {\left (\frac {4 \, \arctan \left (e^{\left (-d x - c\right )}\right )}{d} + \frac {e^{\left (d x + c\right )}}{d} - \frac {e^{\left (-d x - c\right )}}{d}\right )} + \frac {a \arctan \left (\sinh \left (d x + c\right )\right )}{d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.78, size = 88, normalized size = 3.14 \[ \frac {2\,\mathrm {atan}\left (\frac {{\mathrm {e}}^{d\,x}\,{\mathrm {e}}^c\,\left (a\,\sqrt {d^2}-b\,\sqrt {d^2}\right )}{d\,\sqrt {a^2-2\,a\,b+b^2}}\right )\,\sqrt {a^2-2\,a\,b+b^2}}{\sqrt {d^2}}-\frac {b\,{\mathrm {e}}^{-c-d\,x}}{2\,d}+\frac {b\,{\mathrm {e}}^{c+d\,x}}{2\,d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (a + b \sinh ^{2}{\left (c + d x \right )}\right ) \operatorname {sech}{\left (c + d x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________